public class SiteMaterials {
	private MaterialSprite material;
	private Integer availableAmount;
	private Integer usedAmount;
	
	public SiteMaterials(MaterialSprite mat, Integer available){
		this.material = mat;
		this.availableAmount = available;
		this.usedAmount = 0;
	}

	public Integer getUsed() {
		 return usedAmount;
	}
	
	public void setUsed(Integer used) {
		this.usedAmount = used;
	}
	
	public void resetUsed() {
		this.usedAmount = 0;
	}

	public Integer getUsedAmount() {
		return usedAmount;
	}
	
	public Integer getAvailableAmount() {
		return availableAmount;
	}
	
	public MaterialSprite getMaterial(){
		return material;
	}
}
